import { login, getInfo, getAvatar } from './user'
// 引入组织架构接口
import { getDepartments, delDepartments, addDepartments, acdIdGetDepts, updateDepts } from './departments'
import { getEmployeeSimple, getEmployeeList, delEE, addEE, importEE, updateInfo, getPersonalInfo, updatePersonal, getJobDetail, updateJob } from './employees'
import { getRoleList, getCompanyInfo, delRole, updateRoleInfo, getRoleInfo, addRole } from './setting'
import { assignRoleForemployee, getPermissionList, addPermission, updatePermission, delPermission, getPermissionDetail, assignPermission } from './permission'

export const loginAPI = login
export const getInfoAPI = getInfo
export const getAvatarAPI = getAvatar

// 组织架构接口请求
export const getDepartmentsAPI = getDepartments
export const delDepartmentsAPI = delDepartments
export const addDepartmentsAPI = addDepartments
export const acdIdGetDeptsAPI = acdIdGetDepts
export const updateDeptsAPI = updateDepts

// 获取员工简单信息
export const getEmployeeSimpleAPI = getEmployeeSimple

// 获取角色列表
export const getRoleListAPI = getRoleList

// 获取公司信息
export const getCompanyInfoAPI = getCompanyInfo

// 删除角色
export const delRoleAPI = delRole
// / 更新角色信息
export const updateRoleInfoAPI = updateRoleInfo
// 获取角色信息
export const getRoleInfoAPI = getRoleInfo

// 新增角色
export const addRoleAPI = addRole

// 获取角色列表
export const getEmployeeListAPI = getEmployeeList

// 删除角色
export const delEEAPI = delEE

// 新增员工
export const addEEAPI = addEE

// 批量导入员工
export const importEEAPI = importEE

// 更新员工信息
export const updateInfoAPI = updateInfo

export const getPersonalInfoAPI = getPersonalInfo
export const updatePersonalAPI = updatePersonal
export const getJobDetailAPI = getJobDetail
export const updateJobAPI = updateJob

// 给员工分配权限
export const assignRoleForemployeeAPI = assignRoleForemployee

// 获取权限
export const getPermissionListAPI = getPermissionList
// 新增权限
export const addPermissionAPI = addPermission

// 更新权限
export const updatePermissionAPI = updatePermission

// 删除权限
export const delPermissionAPI = delPermission
// 获取权限详情
export const getPermissionDetailAPI = getPermissionDetail
// 分配权限
export const assignPermissionAPI = assignPermission
